Tootsville::Infinity-Set-Avatar-Color

Function

Infinity-Set-Avatar-Color names a function, with lambda list (D USER RECIPIENT/S):

Set the avatar base and extra (pad) colours for the given user.

Lisp SET-AVATAR-COLOR = JSON setAvatarColor

This function is no longer available. Doodle must change the avatar's color now.

Romance 1.1 instructions

Colour numbers are given in X'RRGGBB' form as an integer — to compute one from byte (0..255) RGB values, do ( red << 16 & green << 8 & blue )

Parameters: jso - @{ "base": (colour number), "extra": (colour number) @} u - The user whose avatar colours are being set room - The room in which the user is standing Throws:

org.json.JSONException - Thrown if the data cannot be interpreted from the JSON objects passed in, or conversely, if we can't encode a response into a JSON form

SQLException - if the palettes can't be loaded

File

Defined in file src/infinity/legacy-commands.lisp.